package org.mindrive.system.collection.system;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author houwei
 * @since 2021-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("LOGS")
@ApiModel(value = "LogEntity对象", description = "")
public class LogEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "ID", type = IdType.ASSIGN_ID)
	private String id;

	@TableField("USER_ID")
	private String userId;

	@TableField("USER_NAME")
	private String userName;

	@TableField("EVENT")
	private String event;

	@TableField("EVENT_TYPE")
	private String eventType;

	@TableField("TARGET")
	private String target;

	@TableField("LOCATION")
	private String location;

	@TableField("URL")
	private String url;

	@TableField("REQUEST_TYPE")
	private String requestType;

	@TableField("REQUEST_PARAMETER")
	private String requestParameter;

	@TableField("REQUEST_METHOD")
	private String requestMethod;

	@TableField("IP")
	private String ip;

	@TableField("COST_TIME")
	private BigInteger costTime;

	@TableField("CREATOR")
	private String creator;

	@TableField("CREATED_AT")
	private Date createdAt;

}
